


/* SMM Panel Authentication Styles */

/* Reset and Base */
.smm-auth-page {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.smm-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.smm-auth-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Header */
.smm-auth-header {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.smm-brand a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.smm-tagline {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* Form Container */
.smm-auth-form-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.smm-auth-form h2 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    text-align: center;
}

.form-description {
    text-align: center;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Form Elements */
.smm-form-group {
    margin-bottom: 1rem;
}

.smm-form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.smm-form-group input[type="text"],
.smm-form-group input[type="email"],
.smm-form-group input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.smm-form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.smm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Password Input */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #3498db;
}

/* Password Strength */
.password-strength {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.password-strength.weak {
    color: #dc3545;
}

.password-strength.fair {
    color: #ffc107;
}

.password-strength.good {
    color: #17a2b8;
}

.password-strength.strong {
    color: #28a745;
}

/* Password Match */
.password-match {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.password-match.match {
    color: #28a745;
}

.password-match.no-match {
    color: #dc3545;
}

/* Form Help */
.form-help {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: #3498db;
    border-color: #3498db;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.terms-checkbox {
    margin-bottom: 1.5rem;
}

.terms-checkbox a {
    color: #3498db;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Form Options */
.smm-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.forgot-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Buttons */
.smm-auth-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.smm-btn-primary {
    background: #3498db;
    color: white;
}

.smm-btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.smm-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer Links */
.smm-auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.smm-auth-footer p {
    margin: 0;
    color: #6c757d;
}

.register-link,
.login-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.register-link:hover,
.login-link:hover {
    text-decoration: underline;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* Alerts */
.smm-auth-error,
.smm-auth-success {
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.smm-auth-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.smm-auth-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.smm-auth-error ul,
.smm-auth-success ul {
    margin: 0;
    padding-left: 1rem;
    flex: 1;
}

.smm-auth-error li,
.smm-auth-success li {
    margin-bottom: 0.25rem;
}

/* Features Section */
.smm-auth-features,
.smm-auth-benefits {
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.smm-auth-features h3,
.smm-auth-benefits h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-item .dashicons {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.feature-item h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

.feature-item p {
    margin: 0;
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Benefits List */
.benefits-list {
    space-y: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.benefit-item .dashicons {
    color: #28a745;
    flex-shrink: 0;
}

/* reCAPTCHA */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .smm-auth-container {
        grid-template-columns: 1fr;
        margin: 10px;
        max-width: none;
    }
    
    .smm-auth-header {
        padding: 1.5rem 1rem;
    }
    
    .smm-brand a {
        font-size: 1.5rem;
    }
    
    .smm-auth-form-container,
    .smm-auth-features,
    .smm-auth-benefits {
        padding: 1.5rem;
    }
    
    .smm-form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .smm-form-options {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .smm-auth-wrapper {
        padding: 10px;
    }
    
    .smm-auth-form-container,
    .smm-auth-features,
    .smm-auth-benefits {
        padding: 1rem;
    }
    
    .smm-auth-form h2 {
        font-size: 1.25rem;
    }
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.smm-auth-container {
    animation: slideIn 0.5s ease-out;
}

/* Focus styles for accessibility */
.smm-auth-btn:focus,
input:focus,
.checkbox-wrapper:focus-within {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}
/* === AliOne auth readability hotfix === */
body.smm-auth-page,
.smm-auth-wrapper{
  background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)!important;
  color:#f8fbff!important;
}
.smm-auth-container{
  overflow:hidden!important;
  border-radius:18px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.28)!important;
}
.smm-auth-form-container,
.smm-auth-form,
.smm-auth-benefits,
.smm-auth-features{
  background:rgba(108,99,214,.72)!important;
  color:#f8fbff!important;
}
.smm-auth-form h1,.smm-auth-form h2,.smm-auth-form h3,
.smm-auth-form label,
.smm-auth-form .form-label,
.smm-auth-form .checkbox-wrapper,
.smm-auth-form .checkbox-wrapper span,
.smm-auth-benefits h1,.smm-auth-benefits h2,.smm-auth-benefits h3,
.smm-auth-features h1,.smm-auth-features h2,.smm-auth-features h3{
  color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.22)!important;
}
.smm-auth-form p,
.smm-auth-form small,
.smm-auth-form .description,
.smm-auth-features p,
.smm-auth-benefits p,
.feature-item p,
.benefit-item,
.auth-subtitle{
  color:#e9f2ff!important;
  opacity:1!important;
}
.smm-auth-form a,
.smm-auth-wrapper a{color:#62f0ff!important;font-weight:900!important;}
.smm-auth-form input,
.smm-auth-form select,
.smm-auth-form textarea{
  background:#101a3c!important;
  border:1px solid rgba(255,255,255,.22)!important;
  color:#fff!important;
}
.smm-auth-form input::placeholder{color:#b9c7e6!important;opacity:1!important;}
.smm-auth-features,
.smm-auth-benefits,
.auth-side-panel{
  background:rgba(255,255,255,.96)!important;
  color:#1e293b!important;
}
.smm-auth-features *,
.smm-auth-benefits *,
.auth-side-panel *{color:#1e293b!important;text-shadow:none!important;}
.smm-auth-features p,.smm-auth-benefits p,.auth-side-panel p{color:#52627a!important;}
.feature-item,
.stat-card,
.auth-benefit-card{
  background:#334155!important;
  border-radius:16px!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
.feature-item *,.stat-card *,.auth-benefit-card *{color:#fff!important;}
.feature-item p,.auth-benefit-card p{color:#d7e1f0!important;}
.smm-auth-message,.smm-auth-error,.smm-auth-success{
  border-radius:14px!important;
  padding:12px 14px!important;
  color:#fff!important;
  font-weight:800!important;
}
.smm-auth-error{background:linear-gradient(135deg,#ef4444,#be123c)!important;}
.smm-auth-success{background:linear-gradient(135deg,#10b981,#059669)!important;}
